package com.liuceng.rabbitmq.controller;

import com.liuceng.rabbitmq.service.RabbitmqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class RabbitmqController {

    @Autowired
    public RabbitmqService rabbitmqService;

    @RequestMapping(value = "/send",method = RequestMethod.GET)
    public @ResponseBody String send(){

        return "success";
    }
}
